<%@page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>左侧页面</title>

<%@include file="/WEB-INF/page/common/include/head.jsp"%>
<style type="text/css">
body {
	overflow-x : hidden;
	
}
</style>
<script type="text/javascript">
	$(function() {
		$("#accordion").accordion({collapsible: true, heightStyle: "content"
		}).removeClass().addClass("accordion_div").find("div a").hover(
		  	function(){
		    	$(this).css({"color":"#FFFFFF"});
		  	},
		  	function(){
		  		if($(this).attr("a_select") != "1"){
		    		$(this).css({"color":""});
		    	}
		  	}
		).click(function(){
			$("#accordion div div a").removeAttr("a_select");
			$("#accordion div div a").css({"color":""});
			$(this).attr("a_select","1");
			$(this).css({"color":"#FFFFFF"});
		});
		
		$("#accordion>h3>a").hover(
		  	function(){
		    	$(this).css({"background-color":"#585858"});
		  	},
		  	function(){
		  		if($(this).attr("a_select") != "1"){
		    		$(this).css({"background-color":"rgb(73, 73, 73)"});
		    	}
		  	}
		).click(function(){
			var aSelect = $(this).attr("a_select");
			$("#accordion>h3>a").removeAttr("a_select");
			$("#accordion>h3>a").css({"background-color":"rgb(73, 73, 73)"});
			if(aSelect != "1"){
				$(this).attr("a_select","1");
			}
			$(this).css({"background-color":"#585858"});
		}).eq(0).css({"background-color":"#585858"}).attr("a_select","1");
		
		$("#accordion>h3>span").removeClass();
		
	});
</script>
</head>

<body>

	<div class="accordion_div" id="accordion">
		<s:iterator value="rparam.list" id="mp" status="li">
		<h3>
			<a href="javascript:void(0)"><s:property value="mod_name" /></a>
		</h3>
		<div>
			<s:if test="mod_list != null">
				<s:iterator value="mod_list" id="m" status="l">
				<div>
					<a target="rightframe" href="<s:property value="mod_url" />"><s:property value="mod_name" /></a>
				</div>
				</s:iterator>
			</s:if>
		</div>
		</s:iterator>
	</div>
</body>
</html>
